██████╗ ███████╗████████╗██╗██████╗ ███████╗██████╗ ██╗ █████╗
██╔══██╗██╔════╝╚══██╔══╝██║██╔══██╗██╔════╝██╔══██╗██║██╔══██╗
██████╔╝█████╗ ██║ ██║██████╔╝█████╗ ██║ ██║██║███████║
██╔══██╗██╔══╝ ██║ ██║██╔═══╝ ██╔══╝ ██║ ██║██║██╔══██║
██║ ██║███████╗ ██║ ██║██║ ███████╗██████╔╝██║██║ ██║
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝
- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
FastCGI
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
mwawFastCGI è un protocollo che permette di interfacciare programmi interattivi mwbaCGI con un server web. FastCGI è una variazione della prima mwbqCommon Gateway Interface (CGI); lo scopo principale di FastCGI è quello di ottimizzare le risorse del sistema nell'interfacciamento tra il programma CGI e il mwbgserver web, permettendo al server di gestire più richieste di pagina web assieme.
Contents
• Note
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Funzionamento
Invece di creare un nuovo processo per ogni richiesta, FastCGI usa i processi persistenti per gestire una serie di richieste. Questi processi sono posseduti dal server di FastCGI e non dal server web. Per rispondere a una richiesta entrante, il server web invia informazioni e la pagina richiesta ad un processo di FastCGI su un mwcgsocket (nel caso che FastCGI sia installato sulla stessa macchina del server web) o con un collegamento mwcwTCP (in caso FastCGI sia installato su una macchina remota). La risposta viene rimandata dal processo al server web sullo stesso collegamento, e il sistema di mwdaserver web di conseguenza consegna quella risposta all'utilizzatore finale. Il collegamento può essere chiuso alla fine di una risposta, ma i processi del server web e i processi del server di FastCGI persistono. Ogni processo di FastCGI può gestire molte richieste da quando è attivo, in tal modo si evita uno spreco di risorse richieste per la creazione di un processo e per la sua terminazione. Gli amministratori di un sito web possono trovare che la separazione delle applicazioni del server web in FastCGI ha molti vantaggi sugli interpreti dei vari linguaggi (mod_perl, mod_php, ecc.).
Server Web che implementano FastCGI
• Abyss Web Server
• mwfaApache HTTP Server mwfq(partial)
• An older, no longer updated, third-party module mwjqmod_fastcgi is also being used. As of Apache 2.4.x, this module no longer compiles properly.cite-ref-3[3]
• Multiplexing of requests through a single connection is prohibited by Apache 1.x design,cite-ref-4[4] so this isn't supported
• In Apache 2.4, mwmamwmqmod_proxy_fcgi was added, supporting TCP FastCGI servers.
• Cherokee HTTP Servercite-ref-5[5]
• Hiawatha webservercite-ref-7[7]
• Loadbalancing FastCGI support
• Supports chrooted FastCGI servers
• LiteSpeed Web Server
• Microsoft IIScite-ref-9[9]
• Kerio WebSTAR
• mwwaNginx
• Open Market Web Server
• pronghorn Web Server
• Resin Application Server
• Roxen Web Server
• Sun Java System Web Server
• Any mwzaServlet container (such as mwzqApache Tomcat or Jetty), using the mwzwJFastCGI library.
• Zeus Web Server
Note
cite-note-11. ↑ mwcaFastCGI apache module mod_fcgid
cite-note-22. ↑ mwdaDebian bug #450748: Please add support for TCP/IP FastCGI servers
cite-note-33. ↑ mweaIssues with Apache 2.4 and PHP-FPM
cite-note-44. ↑ mwfamwfqmwfgFastCGI – The Forgotten Treasure/ Section 2.3., su mwfwcryp.to. mwgaURL consultato l'8 giugno 2013 mwgq(archiviato dall'mwggurl originale l'8 febbraio 2010).
cite-note-55. ↑ mwhgFastCGI for Cherokee
cite-note-66. ↑ mwig(mwiwmwjaEN) mwjqmwjgLoad Balancing PHP-FPM With HAProxy & FastCGI, su mwjwhaproxy.com. mwkaURL consultato il 28 aprile 2025.
cite-note-77. ↑ mwlaFastCGI HOWTO for Hiawatha
cite-note-88. ↑ mwmaFastCGI for Lighttpd
cite-note-99. ↑ mwnamwnqmwngFastCGI Extension for IIS6.0 - RTM, in mwnwFastCGI for IIS, Microsoft, 28 febbraio 2008. mwoaURL consultato il 29 febbraio 2008.
Collegamenti esterni
• mwpaFastCGI specification (offline)
• mwpwSpecification biforcarsi
• mwqqFastCGI Web Site (offline)
• mwraFastCGI Web Site biforcarsi
• mwrgmod_fastcgi – modulo FastCGI forcella Apache 1.xe 2.x supportare applicazioni esterne (offline)
• mwsqmod_fastcgi – modulo FastCGI forcella Apache 1.xe 2.x supportare applicazioni esterne
• mwswmod_fcgid - un modulo FastCGI per Apache 2.x
• mwtqMicrosoft FastCGI mwtgArchiviato il 26 novembre 2007 in Internet Archive.
• mwuqmodulo Apache v2.x mod_proxy FastCGI